import Layout from '@/layouts'
const teacher = [
  {
    path: '/teacher',
    component: Layout,
    children: [
      {
        path: '',
        name: 'teacher',
        component: () => import('@/views/teacher/list'),
        meta: { title: '讲师列表', needLogin: false }
      },
      {
        path: ':id',
        component: () => import('@/views/teacher/home'),
        meta: { title: '讲师主页', needLogin: false }
      }
    ]
  }
]

export default teacher
